package com.qidian.mes.cal.mapper;

import com.qidian.mes.pojo.Team;

import java.util.List;


public interface TeamMapper {
    //删除班组,同时删除班组与用户的关系
    Integer deleteById(String[] teamCodes);
    //更改班组数据
    Integer update(Team team);
    //根据id查询班组数据
    Team selectByTeamId(Long teamId);
    //添加班组数据
    Integer save(Team team);
    //根据名称查询数据
    Team selectByTeamName(String teamName);
    //    分页查询
    List<Team> list(Team team);
    //查询全部班组数据
    List<Team> getList();
    //根据班组编码查班组信息
    List<Team> selectByTeamCode(String teamCode);
}
